package com.banmoon.birdge;

import com.banmoon.birdge.brand.Huawei;
import com.banmoon.birdge.brand.Mi;
import com.banmoon.birdge.phone.FoldablePhone;
import com.banmoon.birdge.phone.FullScreenPhone;

public class BirdgeMain {

    public static void main(String[] args) {
        FullScreenPhone phone = new FullScreenPhone(new Mi());
        String phoneName = phone.getPhoneName();
        System.out.println(phoneName);

        System.out.println("============= 分割线 =============");
        FoldablePhone phone1 = new FoldablePhone(new Huawei());
        String phoneName1 = phone1.getPhoneName();
        System.out.println(phoneName1);
    }

}
